package com.fengwk.user.face.model;

import java.io.Serializable;

import com.fengwk.resource.face.model.File;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("用户")
public class User implements Serializable {

	private static final long serialVersionUID = -8856294028951849140L;
	
	@ApiModelProperty("用户id")
	private Long userId;
	@ApiModelProperty("用户头像")
	private File avatar;
	@ApiModelProperty("用户名")
	private String username;
	@ApiModelProperty("邮箱")
	private String email;
	@ApiModelProperty("手机号")
	private String mobilePhone;
	@ApiModelProperty("密码")
	private String password;
	@ApiModelProperty("昵称")
    private String nickname;
	@ApiModelProperty("真实姓名")
    private String realName;
	@ApiModelProperty("身份证")
	private String idCard;
	@ApiModelProperty("性别")
	private Integer sex;
	@ApiModelProperty("出生时间")
	private Long birthTime;
	@ApiModelProperty("创建时间")
	private Long createTime;
	@ApiModelProperty("更新时间")
	private Long updateTime;
	@ApiModelProperty("用户状态")
	private Integer status;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public File getAvatar() {
		return avatar;
	}

	public void setAvatar(File avatar) {
		this.avatar = avatar;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMobilePhone() {
		return mobilePhone;
	}

	public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Long getBirthTime() {
		return birthTime;
	}

	public void setBirthTime(Long birthTime) {
		this.birthTime = birthTime;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
